//
//  ZWHomeTableViewController.m
//  oc-wei
//
//  Created by xue-iOS-work on 16/8/30.
//  Copyright © 2016年 xue. All rights reserved.
//
#import "ZWHomeTableViewController.h"
#import "tempViewcontroller.h"
#import "UIBarButtonItem+extension.h"
@interface ZWHomeTableViewController ()

@end

@implementation ZWHomeTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.leftBarButtonItem =[UIBarButtonItem barButtonWithTitle:nil image:@"navigationbar_friendsearch" style:UIBarButtonItemStylePlain target:self action:@selector(clickBtn)];
    self.navigationItem.rightBarButtonItem = [UIBarButtonItem barButtonWithTitle:nil image:@"navigationbar_pop" style:UIBarButtonItemStylePlain target:self action:@selector(clickBtn)];
}
- (void)clickBtn {
    NSLog(@"点击了按钮");
    tempViewcontroller *vc  = [[tempViewcontroller alloc]init];
    [self.navigationController pushViewController:vc animated:true];
}

@end
